.darwin {
  .head-info > .content {
    padding-right: 10px;
  }
}

.win32,
.linux {
  .head-info > .content {
    padding-left: 10px;
  }
}

.head-info {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  background-color: var(--black);

  > .content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    > .title {
      font: normal 15px /15px ping-fang;
      padding-left: 5px;
    }

    > .events {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-right: 5px;

      > .event {
        /**
        * 切换成圆角
        **/
        // clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        border-radius: 20px;
        width: 18px;
        height: 18px;
        margin-left: 5px;
        &:hover {
          opacity: 0.9;
        }
        &:active {
          opacity: 0.7;
        }
        &.close {
          background-color: var(--red);
        }
        &.min {
          background-color: var(--grey);
        }
        &.max-min {
          background-color: var(--cyan);
        }
      }
    }
  }
}
